<?php

declare(strict_types=1);

namespace app\common\model;

use think\model\concern\SoftDelete;

/**
 * 全局基础模型
 * 
 * @mixin \think\Model
 */
class Base extends \think\Model
{
    // 软删除
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = null;
    // 隐藏属性
    protected $hidden = ['create_time', 'update_time', 'delete_time'];
}
